package com.zzw.zim.system.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzw.zim.common.page.Pages;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 新增菜单DTO
 *
 * @author XiaoJie
 * @date 2025-09-02 09:43:18
 */
@Schema(description = "新增菜单DTO")
@Data
public class QueryMenuPageDTO extends Pages implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "菜单名称")
	private String name;

	@Schema(description = "菜单URL")
	private String url;

	@Schema(description = "授权标识(多个用逗号分隔，如：sys:menu:list,sys:menu:save)")
	private String authority;

	@Schema(description = "类型（0：菜单；1：按钮；2：接口）")
	private Integer type;

	@Schema(description = "打开方式（0：内部；1：外部）")
	private Integer openStyle;


}
